package com.etime.shycourse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author wb
 * @since 2022-03-15
 */
@ApiModel(value = "Couponrange对象", description = "Couponrange")
public class Couponrange implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cangeid", type = IdType.AUTO)
    private Integer cangeid;

    private Integer couponid;

    @ApiModelProperty(value = "1---关联课程  2--关联课程包")
    private Integer courseorpackage;

    private Integer rangecourseid;

    private Integer rangpackageid;


    public Integer getCangeid() {
        return cangeid;
    }

    public void setCangeid(Integer cangeid) {
        this.cangeid = cangeid;
    }

    public Integer getCouponid() {
        return couponid;
    }

    public void setCouponid(Integer couponid) {
        this.couponid = couponid;
    }

    public Integer getCourseorpackage() {
        return courseorpackage;
    }

    public void setCourseorpackage(Integer courseorpackage) {
        this.courseorpackage = courseorpackage;
    }

    public Integer getRangecourseid() {
        return rangecourseid;
    }

    public void setRangecourseid(Integer rangecourseid) {
        this.rangecourseid = rangecourseid;
    }

    public Integer getRangpackageid() {
        return rangpackageid;
    }

    public void setRangpackageid(Integer rangpackageid) {
        this.rangpackageid = rangpackageid;
    }

    @Override
    public String toString() {
        return "Couponrange{" +
                "cangeid=" + cangeid +
                ", couponid=" + couponid +
                ", courseorpackage=" + courseorpackage +
                ", rangecourseid=" + rangecourseid +
                ", rangpackageid=" + rangpackageid +
                "}";
    }
}
